﻿<%@ Page Title="" Language="C#" MasterPageFile="~/StuMaster.Master" AutoEventWireup="true"
    CodeBehind="StuMessageEdit.aspx.cs" Inherits="LIMS.Web.StuMessageEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <img src="images/liuyan.jpg" height="35" alt="" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <script src="jQuery/jquery-1.7.1.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#Reset1").click(function () {
                $("#txtCaption").val("");
                $("#txtCaption").html("");
                $("#txtCaption").text("");
                $("#txtContent").val("");
            })
        })
    </script>
    <table cellpadding="0" cellspacing="1" style="width: 558px; border: 0px;">
        <tr>
            <td align="right" bgcolor="#ffffff" style="height: 30px" width="158">
                <font color="#ff0000" size="2">* </font><font size="2">信息标题</font>
            </td>
            <td bgcolor="#ffffff" style="height: 30px" width="400">
                &nbsp;
                <asp:TextBox ID="txtCaption" runat="server" CssClass="box-3" MaxLength="200" Width="90%"></asp:TextBox>
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCaption"
                    Display="Dynamic" ErrorMessage="留言标题不能为空" ForeColor="#AA11FF">留言标题不能为空</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" bgcolor="#ffffff" height="30" width="158">
                <font size="2"><span style="color: #ff0000">* <font size="2"></font></span>信息内容</font>
            </td>
            <td bgcolor="#ffffff" height="30" width="400">
                &nbsp;
                <asp:TextBox ID="txtMessageContent" runat="server" CssClass="box-3" Rows="10" TextMode="MultiLine"
                    Width="90%"></asp:TextBox>
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtMessageContent"
                    Display="Dynamic" ErrorMessage="留言内容不能为空" ForeColor="#AA11FF">留言内容不能为空</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="center" bgcolor="#ffffff" colspan="2" height="30">
                <div style="text-align: center;">
                    <br />
                    <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="保存提交" />
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <input id="Reset1" type="reset" value="重新填写" />
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
